#!/usr/bin/python
#Boa:App:BoaApp

#### GUI START ####

#Global TODO's:
#   1) Don't raise string exceptions!

#TODO in the FUTURE:
#   1) Integrate PyX.
#   2) Create a Scanner class.  A lot of code is needlessly reused on this matter.
#      See if there is already one that is easy to understand and use.
#   3) A way to do conversions would be good (in -> ft, etc.). It should probably
#      be in a different Frame, though.

import wx
import MainFrame

modules ={'MainFrame': [1, 'Main frame of Application', 'MainFrame.py'],
 'MathFrame': [0, '', 'MathFrame.py'],
 'QdrtcImgnryFrame': [0, '', 'QdrtcImgnryFrame.py']}

class BoaApp(wx.App):
    def OnInit(self):
        wx.InitAllImageHandlers()
        self.main = MainFrame.create(None)
        self.main.Show()
        self.SetTopWindow(self.main)
        return True

def main():
    application = BoaApp(0)
    application.MainLoop()

if __name__ == '__main__':
    main()
